﻿namespace GCC.Container.LogProviders
{
    internal class ConsoleLog
    {

        public static ConsoleLog Instance = new();
        private ConsoleLog() { }

        public void Write(string text, ConsoleColor bgColor = ConsoleColor.Black, ConsoleColor fontColor = ConsoleColor.White)
        {
            Console.BackgroundColor = bgColor;
            Console.ForegroundColor = fontColor;
            Console.WriteLine(text);
            Console.ResetColor();
        }
    }
}
